package com.qiudaozhang.mapper;

import com.qiudaozhang.model.DataDictionary;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface DataDictionaryMapper {
    List<DataDictionary> findByTypeCode(@Param("cardType") String cardType);

    String findByTypCodeValueId(@Param("cardType") String cardType, @Param("valueId") Integer valueId);

    List<DataDictionary> query();

    void add(DataDictionary d);

    DataDictionary queryById(@Param("id") Long id);

    void modify(DataDictionary dataDictionary);

    Integer del(@Param("id") Integer id);
}